﻿@model KKU.RBSFPP.Shared.DAC.Member

@{
    ViewBag.Title = "Details";
}

@Html.Partial("_AccountMenu")

<p>
    <a class="btn btn-success" ><span class="glyphicon glyphicon-th-list"></span>  รายละเอียดสมาชิก</a>
</p>




        <p>
            <div class="btn btn-default" > @Html.ActionLink("จัดการสมาชิก", "Index","Member")</div>
            <div class="btn btn-default"> @Html.ActionLink("จัดการสิทธิ์", "Index", "Privilege") </div>

        </p>

<fieldset>
    <legend></legend>

<div class="panel panel-default">
 <div class="panel-heading">ชื่อผู้ใช้</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.Username)
    </div>
  </div>
</div>

    <div class="panel panel-default">
 <div class="panel-heading">รหัสประจำตัวประชาชน</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.PersonalId)
    </div>
  </div>
</div>
    
     <div class="panel panel-default">
 <div class="panel-heading">ชื่อ</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    </div>
  </div>
</div>

    
       <div class="panel panel-default">
 <div class="panel-heading">นามสกุล</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.LastName)
    </div>
  </div>
</div>

      <div class="panel panel-default">
 <div class="panel-heading">ที่อยู่</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.Address)
    </div>
  </div>
</div>

     <div class="panel panel-default">
 <div class="panel-heading">เบอร์โทรศัพท์</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.TelephoneNumber)
    </div>
  </div>
</div>

     <div class="panel panel-default">
 <div class="panel-heading">สร้างเมื่อวันที่</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.CreateOn)
    </div>
  </div>
</div>

    <div class="panel panel-default">
 <div class="panel-heading">ลบเมื่อวันที่</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.DeleteOn)
    </div>
  </div>
</div>

    <div class="panel panel-default">
 <div class="panel-heading">สิทธิ์</div>
  <div class="panel-body">
    <div class="display-field">
        @Html.DisplayFor(model => model.PrivilegeLevel.Name)
    </div>
  </div>
</div>
</fieldset>
<p>
    @Html.ActionLink("แก้ไข", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("ย้อนกลับ", "Index")
</p>
